#ifndef _TOGGLE_SHRINK_TRICK
#define _TOGGLE_SHRINK_TRICK


#include "ofMain.h"
#include "trick.h"
#include "videoBlobDetector.h"
#include "videoBlob.h"
#include "ofCvMain.h"


class toggleShrinkTrick : public trick {
	
	public:
		
		void setup();
		void update();
		void draw();
		void reset();
		void keyPressed(int key);
		
		void 		takeSnapshot();
		void 		clear();
		
		bool					bHaveBlobs;
		videoBlob				blob;
		bool 					bTakeSnapshot;
		ofCvGrayscaleImage		meAsGray;
		ofCvGrayscaleImage		meAndedWithHand;
		
		int 					nFramesCovered;
		bool 					bUncovered;
		
		bool 					bShow;
		
		bool 					bScaleChange;
		bool 					bFadeOut;
		float 					energy;
		
		// ----------------------------------
		
};

#endif	


